package d_LinkedList;

import java.util.ArrayList;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package d_LinkedList
 * @date 2024/4/8 下午1:19
 */
public class test02 {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<>();
        list.add("a");
        list.add("b");
        list.add("c");
        list.add("d");
        list.add("e");
        for (String s : list) {
            System.out.println(s);
        }
        String [] array={"a","b","c","d","e"};
        for (String wqe : array) {
            System.out.println(wqe);

        }
    }
}
